
/*************************** * 全局样式**************** */
*{
    margin: 0;
    padding: 0;
}
a{
  text-decoration: none;  
}
a:active{
    color: #ccc !important;
}
ul,ol{
    list-style-type: none;
}
body{
    max-width: 540px;
    min-width: 320px;
    margin: 0 auto;
    overflow-x: hidden;
    font: normal 14px/1.5 Tahoma, "Lucida Grande", Verdana, "Microsoft Yahei", STXihei, hei;
    color: #000;
    background: #f2f2f2;
    -webkit-tap-highlight-color: transparent;
}

[class*=icon-]::before{
    background-image: url(../img/localnav_bg.png);
    background-repeat: no-repeat;
    background-size: 32px auto;
}
/*************************** * 全局样式结束**************** */

/*************************** * 头部搜索框模块样式**************** */
.serach-index{
    position: fixed;
    z-index: 999;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    background-color: #F6F6F6;
    width: 100%;
    max-width: 540px;
    min-width: 320px;
    height: 44px;
    display: flex;
    border-top: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
}

.serach-index .serach{
    height: 21px;
    margin: 7px 10px;
    border-radius: 5px;
    border: none;
    outline: none;
    flex: 1;
    padding-left: 25px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, .2);
    background-color: #F6F6F6;
    border: 1px solid #ccc;
    position: relative;
    background-image: url(../img/sprite.png);
    background-repeat: no-repeat;
    background-position: -52px -275px;
    background-size: 104px auto;

}

.serach-index .serach::-webkit-input-placeholder{
    font-size: 12px;
}

.serach-index .my{
    width: 44px;
    height: 44px;
    /* background-color: #888; */
    font-size: 12px;
    color: #2eaae0;
    text-align: center;
}
.my::before{
    content: '';
    display: block;
    width: 23px;
    height: 23px;
    margin: 4px auto -2px;
    background-image: url(../img/sprite.png);
    background-repeat: no-repeat;
    background-position: -59px -193px;
    background-size: 104px auto;
}

/*************************** * 头部搜索框模块样式结束**************** */

/*************************** * 焦点图模块样式**************** */
/* focus */
.focus {
    position: relative;
    padding-top: 44px;
    overflow: hidden;
}
.focus .focus-img{
    width: 500%;
    margin-left: -100%;
    overflow: hidden;
}
.focus .focus-img li{
    width: 20%;
    float: left;
}
.focus img{
    width: 100%;
}
/* 小圆点 */
.focus .circle{
    margin: 0;
    padding: 0;
    list-style-type: none;
    position: absolute;
    right: 15px;
    bottom: 10px;
    
}
.focus .circle li{
    display: inline-block;
    width: 5px;
    height: 5px;
    border-radius: 5px;
    background-color: #ccc;
    transition: all .3s;

}
.focus .circle li.current{
    background-color: white;
    width: 20px;
}

/*********************** * 焦点图样式结束**************** */

/*********************** * 上部分导航栏样式**************** */
.nav-top{
    margin: 3px 4px;
}
.nav-top .local-nav{
    list-style-type: none;
    height: 64px;
    background-color: white;
    border-radius: 5px;
    display: flex;
    flex-flow: row wrap;
    justify-content: space-around;
    align-items: center;

}
.nav-top .local-nav li{
    display: inline-block;
    flex: 1;
    text-align: center;
}
.nav-top .local-nav li a{
    color: #222;
    font-size: 12px;
    
}
.nav-top .local-nav li a::before{
    content: '';
    display: block;
    width: 45px;
    height: 32px;
    margin: 0 auto;
    
}
.nav-top .local-nav li .icon-frist::before{
    background-position: 7px 0px;
}
.nav-top .local-nav li .icon-twice::before{
    background-position: 7px -32px;
}
.nav-top .local-nav li .icon-third::before{
    background-position: 7px -64px;
}
.nav-top .local-nav li .icon-fourth::before{
    background-position: 7px -96px;
}
.nav-top .local-nav li .icon-fifth::before{
    background-position: 7px -128px;
}



/**************** * 上部分导航栏样式结束**************** */


/**************** * 主要导航栏样式**************** */
.nav{
    margin: 0 4px 3px;
   display: flex;
   flex-direction: column;
   justify-content: space-between;
   height: 270px;
}
.nav a{
   color: white;
   text-shadow: 1px 1px rgba(0, 0, 0, .2);
}
                /* 第一层 */
.nav .nav-first{
    width: 100%;
    display: flex;
    flex-flow: row wrap;
    height: 88px;
    background: -webkit-linear-gradient(left, #FA5A55, #FA994D);
    border-radius: 10px 10px 0 0;
} 
.nav .bgimg{ /* 背景图 */
    background-image: url(../img/hotel.png);
    background-repeat: no-repeat;
    background-size: 121px auto;
    background-position: 29px 38px;
}
.nav .nav-first .first-item{
    flex: 1;
    text-align: center;
    font-size: 14px;
    height: 88px;
    line-height: 44px;
    color: #ccc;
}
.nav .nav-first .first-item:nth-child(1),.nav .nav-first .first-item:nth-child(2){ /* 右边框 */
    border-right: 1px solid white;
}
.nav .nav-first .item--display{
    display: flex;
    flex-direction: column;
}
.nav .nav-first .item--display a{
    height: 44px;
    line-height: 44px;
    
}
.item--display a:nth-child(1){ /* 下边框 */
    border-bottom: 1px solid white;
}

                            /* 第二层 */
.nav .twice--style{
    background: -webkit-linear-gradient(left, #4B90ED, #53BCED);
    border-radius: 0;
}
                        /* 第三层 */
.nav .third--style{
    background: -webkit-linear-gradient(left, #34C2A9, #6CD559);
    border-radius: 0 0 10px 10px;
}

/**************** * 主要导航栏样式结束**************** */

/**************** * 底部导航栏样式**************** */
.nav-bottom{
    width: 100%;
}
.nav-bottom .nav-main{
    list-style-type: none;
    display: flex;
    flex-flow: row wrap; 
    padding: 5px 0;
    margin: 0 4px;
    background-color: white;
    border-radius: 10px;
}
.nav-bottom .nav-main li{
    flex: 20%;
    text-align: center;
   

}
.nav-bottom .nav-main li a{
    display: flex;
    flex-flow: column wrap;
    align-items: center;
    color: #222;
}
.nav-bottom .nav-main li span:nth-child(1){
    display: block;
    width: 28px;
    height: 28px;
    background-image: url(../img/subnav-bg.png);
    background-size: 28px auto;
    margin-top: 4px;
}


/**************** * 底部导航栏样式结束**************** */

/* **************************推荐区、活动区*********** */
.sales-box{
    border-top: 1px solid #bbb;
    background-color: #fff;
    margin: 4px;
}
.sales-box .sale-hd{
    height: 44px;
    border-bottom: 1px solid #ccc;
    display: flex;
    flex-flow: row wrap;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
}
.sales-box .sale-hd h2::before{
    display: block;
    content: '';
    width: 79px;
    height: 15px;
    background-image: url(../img/hot.png);
    background-repeat: no-repeat;
    background-position: 0px -18px;
    background-size: 79px;
    margin-left: 20px;
}
.sales-box .sale-hd a{
    padding: 3px 20px 3px 10px;
    background: -webkit-linear-gradient(left, #FF506C, #FF6BC6);
    color: #fff;
    border-radius: 15px;
    position: relative;
    margin-right: 5px;
}
.sales-box .sale-hd a::after{
    display: block;
    content: '';
    width: 7px;
    height: 7px;
    border-top: 2px solid white;
    border-right: 2px solid white;
    transform: rotate(45deg);
    position: absolute;
    right: 8px;
    top: 10px;
}

                /* 活动内容区域 */
.sale-bd{
    display: flex;
    flex-flow: row wrap;

}
.sale-bd div:nth-child(2n -1){
    border-right: 1px solid #ccc;
}
.sale-bd .bd-row{
    flex: 50%;
    border-bottom: 1px solid #ccc;
    height: 124px;
    box-sizing: border-box;
}
.sale-bd .bd--height{
    height: 185px;
}
.sale-bd img{
    width: 100%;
}





/* *****************推荐区、活动区结束*********** */

/* *****************返回顶部*********** */
#goback{
    width: 50px;
    height: 50px;
    border-radius: 200px;
    background-color: rgba(0, 0, 0, 0.2);
    text-align: center;
    line-height: 50px;
    position: fixed;
    right: 20px;
    bottom: 30px;
    display: none;
}

#goback::before{
    background-image: none;
    content: "\e6f8";
    font-size: 25px;
    line-height: 50px;
}


/* *****************返回顶部结束*********** */